import http from "@/utils/http";
// 获取首页轮播图
const getBanners = ()=>http(`/api/front/index`);
// 获取商品排行榜
const getGoodsTop = ()=>http(`/api/front/product/leaderboard`);
// 获取商品列表
const getGoodsList = (type,page,limit)=>http(`/api/front/index/product/${type}`,{page,limit});


export {
    getBanners,
    getGoodsTop,
    getGoodsList
}
